package uk.org.scuts.bantstadium2;

public class CharBase {
	
	// Constructors
	public CharBase(String gender,
			        String attack,
			        String defense,
			        String cunning,
			        String hp,
			        String speed,
			        String attack0,
			        String attack1,
			        String attack2,
			        String attack3) {
		if (gender.toUpperCase().charAt(0) == 'M') {
			_gender = Character.Gender.MALE;
		} else {
			_gender = Character.Gender.FEMALE;
		}
		_attack = attack;
		_defense = defense;
		_cunning = cunning;
		_hp = hp;
		_speed = speed;
		_attack0 = attack0;
		_attack1 = attack1;
		_attack2 = attack2;
		_attack3 = attack3;
	}
	
	// Members
	String _attack0;
	String _attack1;
	String _attack2;
	String _attack3;
	Character.Gender _gender;
	String _attack;
	String _defense;
	String _cunning;
	String _hp;
	String _speed;
}
